package com.it.domain;

public class Teacher {
    private String TeacherId;
    private String name;
    private String gender;
    private String age;

    //所教科目
    private String subject;

    public Teacher(String teacherId, String name, String gender, String age, String subject) {
        TeacherId = teacherId;
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.subject = subject;
    }
    public String getTeacherId() {
        return TeacherId;
    }

    public void setTeacherId(String teacherId) {
        TeacherId = teacherId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "TeacherId='" + TeacherId + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", age='" + age + '\'' +
                ", subject='" + subject + '\'' +
                '}';
    }
}
